package com.csu.letaobackend.serviceM;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.csu.letaobackend.bean.Shopcoupon;
import com.csu.letaobackend.bean.Swiperitem;
import com.csu.letaobackend.commom.CommonResponse;
import com.csu.letaobackend.vo.SwiperitemVO;

public interface SwiperitemMService {
      CommonResponse<IPage<SwiperitemVO>> getAllSwiperitems(int pageid, int pagesize);

      CommonResponse<IPage<SwiperitemVO>> searchSwiperitem(String slogan,String shopname,int pageid, int pagesize);

      CommonResponse addSwiperitem(Swiperitem swiperitem);

      CommonResponse deleteSwiperitem(int itemid);

      CommonResponse updateSwiperitem(Swiperitem swiperitem);
}
